<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title></title>
		<script src="/static/js/vue.js" type="text/javascript" charset="utf-8"></script>
	</head>
	<body>
		 清点比赛人员名单
		 
				<?php
					include_once("conn.php");
					$pdotest->query('set names utf8');
				
					$query = "select * from user";
				
					$result=$pdotest->query($query);
					$result->setFetchMode(PDO::FETCH_ASSOC);
					echo "<table border=1>";
						echo "<tr><td>选手号</td>
							<td>选手姓名</td>
							<td>地区</td>
							</tr>";
							
					while($row=$result->fetch()){
						echo "<tr><td>".$row['id']."</td>
						<td>".$row['name']."</td>
						<td>".$row['address']."</td>
						</tr>";
					}
					echo "</table>"
				?>
				<button type="button" class="btn btn-primary">开始比赛</button>
	</body>

</html>
